<!--<br><h3>评论</h3>-->
<div class="comment-area" id="comments">
<hr>
<form class="js-ajax-form" action="{:cmf_plugin_url('TcComment://Index/index')}" method="post">
    <input type="hidden" name="post[object_id]" id="inpId" value="{$object_id}" />
    <input type="hidden" name="post[table_name]" id="tablename" value="{$table_name}" />
    <p><textarea class="form-control comment-postbox" placeholder="请写下你的评论~" style="min-height:150px;width: 810px" name="post[content]"></textarea></p>
	<!--<p><button type="submit" class="js-ajax-submit"><i class="fa fa-comment-o"></i> 发表评论</button></p>-->
    <button type="submit" class="layui-btn btn-primary js-ajax-submit"><i class="layui-icon layui-icon-dialogue"></i>发送</button>
</form>

<hr>
    <!--<div class="comments">-->
    <!--<foreach name="comments" item="vo">-->
	<!--<div class="comment" data-id="{$vo.id}" data-uid="{$vo.user_id}" data-username="{$vo.full_name}" id="comment{$vo.id}">-->
		  <!--<a class="pull-left" href="{$vo.url}">-->
              <!--<if condition="empty($vo.avatar)"><img src="/plugins/tc_comment/images/headicon.png" class="media-object avatar" /><else /><img src="__ROOT__/upload/{$vo.avatar}" class="media-object avatar"/></if>-->
		  <!--</a>-->
		  <!--<div class="comment-body">-->
		    <!--<div class="comment-content"><a href="{$vo.url}">{$vo.full_name}</a>:<br><span>{$vo.content}</span></div>-->
		    <!--<div><span class="time">{:date('Y-m-d H:i',$vo.create_time)}</span></div>-->

		  <!--</div>-->
		  <!--<div class="clearfix"></div>-->
    <!--</div>-->
    <!--</foreach>-->
        <!--<ul class="pagination">-->
        <!--{$page}-->
        <!--</ul>-->
    <!--</div>-->
</div>


<foreach name="comments" item="vo">

<div class="huifuBlock" data-id="{$vo.id}" data-uid="{$vo.user_id}" data-username="{$vo.full_name}" id="comment{$vo.id}">
    <a href="{:url('portal/volunt/detail',['user_id'=>$vo.user_id])}">
    <div class="huifuTx">
        <img src="{$vo.avatar|default='/html/img/logoTx.png'}" class="ltLogoTx">
    </div>
        </a>
    <div class="huifuTitle">
        <div class="zyzName">{$vo.full_name}</div>
        <div class="fbTime">发表于：{:date('Y-m-d H:i',$vo.create_time)}</div>
    </div>
    <div style="clear: both;"></div>
    <div class="ltContent">
        {$vo.content}
    </div>
</div>
</foreach>
    <ul class="pagination">
    {$page}
    </ul>